/*
 * Copyright @ 苏州瑞云信息技术有限公司 All rights reserved.
 */
package work.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *
 * 用户实体
 * @date 2021/7/15
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {

    /**
     * 用户id
     */
    private String id;

    /**
     * 姓名
     */
    private String name;

    /**
     * 年龄
     */
    private String age;

    /**
     * 年级
     */
    private String gradeName;

    /**
     * 序号 排序用的
     */
    private Integer order;

    /**
     * 构造函数
     */
    public User(String id, String name, String gradeName) {
        this.id = id;
        this.name = name;
        this.gradeName = gradeName;
    }

    public User(String id, String name, Integer order) {
        this.id = id;
        this.name = name;
        this.order = order;
    }

    public User(String id, String name, String age, Integer order) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.order = order;
    }
}
